﻿using MathNet.Numerics.Statistics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UtilZ.Dotnet.Ex.DataStatistic;

namespace ConAppCore.Test
{
    internal class TestPerformanceStatistic
    {
        public static void Test()
        {
            PerformanceStatistic statistic = PerformanceStatistic.Default;
            statistic.Add(1, 100);
            statistic.Add("2", 200);
            statistic.Add('h', 300);

            statistic.Add(1, 120);
            statistic.Add("2", 240);
            statistic.Add('h', 360);

            var rret = statistic.GetResultByKey(1);
            var list = statistic.GetResults();

            statistic.ClearResult();
            var list3 = statistic.GetResults();
        }
    }
}
